<template>
    <div class="page">
        <cx_navbar title='post' @navBackBtnClick='backPage'></cx_navbar>
        <textarea class="textarea" placeholder="输入东西"></textarea>
        <yd-button size='large' class='done_btn'>完成</yd-button>
    </div>
</template>
<script>
	import vm from '@/viewmodel/home_viewmodel';
  import cx_navbar from '@/components/cx_navbar'
  export default {
  name: 'home',
  components:{
    cx_navbar,
  },
  data() {
    return {
    	list:[],
    }
  },
  methods:{
    backPage(){
      console.log('kkk back');
      this.$router.go(-1);
    }
  }
}
</script>
<style lang="css" scoped="">
.page {
  display: flex;
  flex-direction: column;
}
.app_navbar {
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  height: 64px;
  background-color: #fff;
  color: #444444;
  font-size: 19px;
  text-align: center;
  line-height: 64px;
  border-bottom: 1px solid #f1f1f1;
}

.back_icon {
  width: 40px;
}

.textarea {
  height: 200px;
  border:none;
  margin: 15px;
  padding: 15px;
  font-size: 14px;
}

.done_btn {
  height: 44px;
  margin-top: 10px;
  margin-right: 15px;
  width: 130px;
  align-self: flex-end;
}

</style>